<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>电影项目</title>
  <style>
    html,body,#app{
      height: 100%;
    }
  </style>
  <!-- css重置 -->
  <style>
    .loadingFive {
      width: 150px;
      height: 15px;
      margin: 0 auto;
      margin-top: 100px;
    }

    .loadingFive span {
      display: inline-block;
      width: 15px;
      height: 100%;
      margin-right: 5px;
      background: rgb(186, 52, 26);
      -webkit-transform-origin: right bottom;
      -webkit-animation: load 1s ease infinite;
    }

    .loadingFive span:last-child {
      margin-right: 0px;
    }

    @-webkit-keyframes load {
      0% {
        opacity: 1;
      }

      100% {
        opacity: 0;
        -webkit-transform: rotate(90deg);
      }
    }

    .loadingFive span:nth-child(1) {
      -webkit-animation-delay: 0.13s;
    }

    .loadingFive span:nth-child(2) {
      -webkit-animation-delay: 0.26s;
    }

    .loadingFive span:nth-child(3) {
      -webkit-animation-delay: 0.39s;
    }

    .loadingFive span:nth-child(4) {
      -webkit-animation-delay: 0.52s;
    }

    .loadingFive span:nth-child(5) {
      -webkit-animation-delay: 0.65s;
    }

    .loadingTwo {
      width: 150px;
      height: 4px;
      border-radius: 2px;
      margin: 0 auto;
      margin-top: 100px;
      position: relative;
      background: lightgreen;
      -webkit-animation: changeBgColor 1.04s ease-in infinite alternate;
      animation: changeBgColor 1.04s ease-in infinite alternate;
    }

    .loadingTwo span {
      display: inline-block;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: lightgreen;
      position: absolute;
      margin-top: -7px;
      margin-left: -8px;
      -webkit-animation: changePosition 1.04s ease-in infinite alternate;
      animation: changePosition 1.04s ease-in infinite alternate;
    }

    @-webkit-keyframes changeBgColor {
      0% {
        background: lightgreen;
      }

      100% {
        background: lightblue;
      }
    }

    @-webkit-keyframes changePosition {
      0% {
        background: lightgreen;
      }

      100% {
        margin-left: 142px;
        background: lightblue;
      }
    }

    .loadingFive {
      width: 150px;
      height: 15px;
      margin: 0 auto;
      margin-top: 100px;
    }

    .loadingFive span {
      display: inline-block;
      width: 15px;
      height: 100%;
      margin-right: 5px;
      background: rgb(232, 200, 17);
      -webkit-transform-origin: right bottom;
      -webkit-animation: load 1s ease infinite;
    }

    .loadingFive span:last-child {
      margin-right: 0px;
    }

    @-webkit-keyframes load {
      0% {
        opacity: 1;
      }

      100% {
        opacity: 0;
        -webkit-transform: rotate(90deg);
      }
    }

    .loadingFive span:nth-child(1) {
      -webkit-animation-delay: 0.13s;
    }

    .loadingFive span:nth-child(2) {
      -webkit-animation-delay: 0.26s;
    }

    .loadingFive span:nth-child(3) {
      -webkit-animation-delay: 0.39s;
    }

    .loadingFive span:nth-child(4) {
      -webkit-animation-delay: 0.52s;
    }

    .loadingFive span:nth-child(5) {
      -webkit-animation-delay: 0.65s;
    }
  </style>
</head>

<body>
  <div id="app">
    <!-- 防白屏 -->
    <div class="loadingFive">
      <span>&nbsp;</span>
      <span></span>
      <span></span>
      <span></span>
      <span></span>
    </div>
  </div>
  <script type="module" src="/src/main.js"></script>
</body>

</html>
